package springboot.file.demo.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: jxm
 * @Description:
 * @Date: 2022/1/19 16:44
 * @Version: 1.0
 */
@Data
@ConfigurationProperties(prefix = "huawei.cloud.obs")
@Component
public class HuaweiCloudProperties {
    //Bucketname(桶名称)
    private String bucketName;
    private String endPoint;
    private String ak;
    private String sk;
    //图片所在目录
    private String dir;
    //访问域名
    private String domainName;

}
